import com.LCQ.crm.utils.SqlSessionUtil;
import com.LCQ.crm.workbench.dao.ClueDao;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

public class test10 {
    public static void main(String[] args) {
        ClueDao clueDao = SqlSessionUtil.getSqlSession().getMapper(ClueDao.class);
        Map map = new HashMap();
        map.put("index",0);
        map.put("pageSize",2);
        List list = clueDao.getListByCondition(map);
        System.out.println(list);
    }
}
